package com.jixiang.tracedata.model.traveller;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

import java.io.Serializable;
import java.util.List;

/**
 * @author quanbiao
 * @date 2018-08-31
 */
@XStreamAlias("BookingInfo")
public class BookingInfo implements Serializable {

    private static final long serialVersionUID = -8648891767572532307L;

    /**
     * 第一步生成PNR的office
     */
    @XStreamAsAttribute()
    private String BookingOffice;

    /**
     * 预定office的IataCode
     */
    @XStreamAsAttribute()
    private String IataCode;

    /**
     * 预定本航段使用的GDS系统
     */
    @XStreamAsAttribute()
    private String GDSCode;

    /**
     * CRS系统PNR记录编号
     */
    @XStreamAsAttribute()
    private String GDSRecordLocator;

    /**
     * ICS系统PNR记录编号
     */
    @XStreamAsAttribute()
    private String RecordLocator;

    /**
     * 团队标识，Y是团队，N不是团队
     */
    @XStreamAsAttribute()
    private String Group;

    /**
     * 团队名
     */
    @XStreamAsAttribute()
    private String GroupName;

    /**
     * 团队人数
     */
    @XStreamAsAttribute()
    private String GroupNumber;

    /**
     * PNR生成日期
     */
    @XStreamAsAttribute()
    private String BookDate;

    /**
     * PNR生成时间
     */
    @XStreamAsAttribute()
    private String BookTime;

    /**
     * PNR中的FP项信息，自由文本
     */
    @XStreamImplicit(itemFieldName="FormOfPayments")
    private List<String> FormOfPaymentsList;

    public List<String> getFormOfPaymentsList() {
        return FormOfPaymentsList;
    }

    public void setFormOfPaymentsList(List<String> formOfPaymentsList) {
        FormOfPaymentsList = formOfPaymentsList;
    }

    public String getBookingOffice() {
        return BookingOffice;
    }

    public void setBookingOffice(String bookingOffice) {
        BookingOffice = bookingOffice;
    }

    public String getIataCode() {
        return IataCode;
    }

    public void setIataCode(String iataCode) {
        IataCode = iataCode;
    }

    public String getGDSCode() {
        return GDSCode;
    }

    public void setGDSCode(String GDSCode) {
        this.GDSCode = GDSCode;
    }

    public String getGDSRecordLocator() {
        return GDSRecordLocator;
    }

    public void setGDSRecordLocator(String GDSRecordLocator) {
        this.GDSRecordLocator = GDSRecordLocator;
    }

    public String getRecordLocator() {
        return RecordLocator;
    }

    public void setRecordLocator(String recordLocator) {
        RecordLocator = recordLocator;
    }

    public String getGroup() {
        return Group;
    }

    public void setGroup(String group) {
        Group = group;
    }

    public String getGroupName() {
        return GroupName;
    }

    public void setGroupName(String groupName) {
        GroupName = groupName;
    }

    public String getGroupNumber() {
        return GroupNumber;
    }

    public void setGroupNumber(String groupNumber) {
        GroupNumber = groupNumber;
    }

    public String getBookDate() {
        return BookDate;
    }

    public void setBookDate(String bookDate) {
        BookDate = bookDate;
    }

    public String getBookTime() {
        return BookTime;
    }

    public void setBookTime(String bookTime) {
        BookTime = bookTime;
    }

}
